<div class="product">
	<div th:unless="${customer.anonymous}" th:remove="tag">
		<a href="javascript:;" class="product-inline-edit fa fa-pencil-square-o" th:id="'product'+*{id}" />
    </div>
	<blc:form method="POST" th:action="@{/cart/add}">
		<input type="hidden" name="productId" th:value="*{id}" />
        <input type="hidden" name="quantity" value="1" />
        <input type="hidden" name="hasProductOptions" th:value="*{!#lists.isEmpty(productOptions)}" />
	
		<div th:if="*{featuredProduct}" class="new_badge">New!</div>
		<a class="product-image" th:href="@{*{url}}">
			<img th:if="*{media['primary']}" th:src="@{*{media['primary'].url} + '?browse'}" alt="Sauce Image" />
			
		</a>
		<div class="product-data-wrapper">
			<div class="product-name" th:text="*{name}"/>
		</div>
		
		<div class="product-data-wrapper">
			<div class="product-price" th:unless="${#object instanceof T(org.broadleafcommerce.core.catalog.domain.ProductBundle)}">
				<span blc:price="*{defaultSku.retailPrice}" th:classappend="*{defaultSku.onSale}? 'has-sale'"></span>
				<span blc:price="*{defaultSku.salePrice}" th:if="*{defaultSku.onSale}" th:classappend="*{defaultSku.onSale}? 'sale'"></span>
			</div>
		</div>
<!-- 		<div class="product-data-wrapper "> -->
<!-- 			<div class="product-description" th:text="*{longDescription}"/> -->
<!-- 		</div> -->
<!-- 		<div th:class="*{'productActions productActions' + id}" th:remove="tag"> -->
<!-- 			<button type="submit" class="add-to-cart addToCart" > -->
<!-- 			    	<span th:text="#{product.buyNow}"></span> -->
<!-- 		    </button> -->
<!-- 		</div> -->
	</blc:form>
</div>
